package com.kita.system.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kita.common.utils.PageUtils;
import com.kita.common.utils.Query;

import com.kita.system.dao.RefundOrderDao;
import com.kita.system.entity.RefundOrderEntity;
import com.kita.system.service.RefundOrderService;


@Service("refundOrderService")
public class RefundOrderServiceImpl extends ServiceImpl<RefundOrderDao, RefundOrderEntity> implements RefundOrderService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<RefundOrderEntity> page = this.page(
                new Query<RefundOrderEntity>().getPage(params),
                new QueryWrapper<RefundOrderEntity>()
        );

        return new PageUtils(page);
    }

}